package com.sevenstudio.adu.gasing.object;

import com.sevenstudio.adu.gasing.engine.Anchor;
import com.sevenstudio.adu.gasing.game.element.GameElementSprite;

public class GasingElement extends GameElementSprite
{
	float				berat;
	float				kecepatan;
	float				putaran;
	GameElementSprite	shadow;
	
	public GasingElement(String path, float x, float y, float w, float h,
			Anchor anchor, GameElementSprite[] shadow, int index, float berat,
			float kecepatan, float putaran)
	{
		super(path, x, y, w, h, anchor);
		this.shadow = shadow[index];
		this.berat = berat;
		this.kecepatan = kecepatan;
		this.putaran = putaran;
	}
	
	public GameElementSprite getShadow()
	{
		return shadow;
	}

	public void setShadow(GameElementSprite shadow)
	{
		this.shadow = shadow;
	}

	public float getBerat()
	{
		return berat;
	}
	
	public void setBerat(float berat)
	{
		this.berat = berat;
	}
	
	public float getKecepatan()
	{
		return kecepatan;
	}
	
	public void setKecepatan(float kecepatan)
	{
		this.kecepatan = kecepatan;
	}
	
	public float getPutaran()
	{
		return putaran;
	}
	
	public void setPutaran(float putaran)
	{
		this.putaran = putaran;
	}
}
